<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Descriptor Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__dma__descriptor__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Descriptor Functions<div class="ingroups"><a class="el" href="group__group__dma.html">DMA          (Direct Memory Access)</a> &raquo; <a class="el" href="group__group__dma__functions.html">Functions</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gab1610fab6f2dd5fd25c031ac0aa9d8cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__dma__enums.html#gafbef983fffc7c7bb724322e8f64d32e5">cy_en_dma_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gab1610fab6f2dd5fd25c031ac0aa9d8cb">Cy_DMA_Descriptor_Init</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="structcy__stc__dma__descriptor__config__t.html">cy_stc_dma_descriptor_config_t</a> const *config)</td></tr>
<tr class="memdesc:gab1610fab6f2dd5fd25c031ac0aa9d8cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the descriptor structure in SRAM from a pre-initialized configuration structure.  <a href="#gab1610fab6f2dd5fd25c031ac0aa9d8cb">More...</a><br /></td></tr>
<tr class="separator:gab1610fab6f2dd5fd25c031ac0aa9d8cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67ca76e4d5a5c17b2119ff07e89b0b93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga67ca76e4d5a5c17b2119ff07e89b0b93">Cy_DMA_Descriptor_DeInit</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor)</td></tr>
<tr class="memdesc:ga67ca76e4d5a5c17b2119ff07e89b0b93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the content of the specified descriptor.  <a href="#ga67ca76e4d5a5c17b2119ff07e89b0b93">More...</a><br /></td></tr>
<tr class="separator:ga67ca76e4d5a5c17b2119ff07e89b0b93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70f78f6b1560374bdccf90f95cc580e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *nextDescriptor)</td></tr>
<tr class="memdesc:ga70f78f6b1560374bdccf90f95cc580e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a Next Descriptor for the specified descriptor.  <a href="#ga70f78f6b1560374bdccf90f95cc580e4">More...</a><br /></td></tr>
<tr class="separator:ga70f78f6b1560374bdccf90f95cc580e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb5f047b778d13f66bc18ef037bfe1f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType)</td></tr>
<tr class="memdesc:gaeb5f047b778d13f66bc18ef037bfe1f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the descriptor's type for the specified descriptor.  <a href="#gaeb5f047b778d13f66bc18ef037bfe1f4">More...</a><br /></td></tr>
<tr class="separator:gaeb5f047b778d13f66bc18ef037bfe1f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2df838cf16522aa18ad713fd05107b4c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, void const *srcAddress)</td></tr>
<tr class="memdesc:ga2df838cf16522aa18ad713fd05107b4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source address for the specified descriptor.  <a href="#ga2df838cf16522aa18ad713fd05107b4c">More...</a><br /></td></tr>
<tr class="separator:ga2df838cf16522aa18ad713fd05107b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c7111653150314961db83f7941a03c2"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, void const *dstAddress)</td></tr>
<tr class="memdesc:ga2c7111653150314961db83f7941a03c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the destination address for the specified descriptor.  <a href="#ga2c7111653150314961db83f7941a03c2">More...</a><br /></td></tr>
<tr class="separator:ga2c7111653150314961db83f7941a03c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gade7056df156384a80cc6c52a64b2043e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, uint32_t xCount)</td></tr>
<tr class="memdesc:gade7056df156384a80cc6c52a64b2043e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the number of data elements to transfer in the X loop for the specified descriptor (for 1D or 2D descriptors only).  <a href="#gade7056df156384a80cc6c52a64b2043e">More...</a><br /></td></tr>
<tr class="separator:gade7056df156384a80cc6c52a64b2043e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9dd4fc26a0246f23e4fb33533f1df8e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, uint32_t yCount)</td></tr>
<tr class="memdesc:gab9dd4fc26a0246f23e4fb33533f1df8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the number of data elements for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#gab9dd4fc26a0246f23e4fb33533f1df8e">More...</a><br /></td></tr>
<tr class="separator:gab9dd4fc26a0246f23e4fb33533f1df8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07b57a509693fc7c2b735b622001fe1c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, int32_t srcXincrement)</td></tr>
<tr class="memdesc:ga07b57a509693fc7c2b735b622001fe1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#ga07b57a509693fc7c2b735b622001fe1c">More...</a><br /></td></tr>
<tr class="separator:ga07b57a509693fc7c2b735b622001fe1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbfc81aed0a42cafdd0b3c71b1dd2d1e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, int32_t dstXincrement)</td></tr>
<tr class="memdesc:gacbfc81aed0a42cafdd0b3c71b1dd2d1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the destination increment parameter for the X loop for the specified descriptor (for 1D or 2D descriptors only).  <a href="#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">More...</a><br /></td></tr>
<tr class="separator:gacbfc81aed0a42cafdd0b3c71b1dd2d1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7928ebc65d7e01c79c3a82c6d8f5b7ee"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, int32_t srcYincrement)</td></tr>
<tr class="memdesc:ga7928ebc65d7e01c79c3a82c6d8f5b7ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source increment parameter for the Y loop for the specified descriptor (for 2D descriptors only).  <a href="#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">More...</a><br /></td></tr>
<tr class="separator:ga7928ebc65d7e01c79c3a82c6d8f5b7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae84c9ee88f63ff0833a53445a9c470b3"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, int32_t dstYincrement)</td></tr>
<tr class="memdesc:gae84c9ee88f63ff0833a53445a9c470b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#gae84c9ee88f63ff0833a53445a9c470b3">More...</a><br /></td></tr>
<tr class="separator:gae84c9ee88f63ff0833a53445a9c470b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf68ae7c4a5e87162e9a05af17d5fb1d2"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a> interruptType)</td></tr>
<tr class="memdesc:gaf68ae7c4a5e87162e9a05af17d5fb1d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the interrupt type for the specified descriptor.  <a href="#gaf68ae7c4a5e87162e9a05af17d5fb1d2">More...</a><br /></td></tr>
<tr class="separator:gaf68ae7c4a5e87162e9a05af17d5fb1d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9910b48379161ee41e0a9d57e0dc3a4b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a> triggerInType)</td></tr>
<tr class="memdesc:ga9910b48379161ee41e0a9d57e0dc3a4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Trigger-In-Type for the specified descriptor.  <a href="#ga9910b48379161ee41e0a9d57e0dc3a4b">More...</a><br /></td></tr>
<tr class="separator:ga9910b48379161ee41e0a9d57e0dc3a4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80c00b719a3b941f506e9d2b5f95d5d1"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a> triggerOutType)</td></tr>
<tr class="memdesc:ga80c00b719a3b941f506e9d2b5f95d5d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Trigger-Out-Type for the specified descriptor.  <a href="#ga80c00b719a3b941f506e9d2b5f95d5d1">More...</a><br /></td></tr>
<tr class="separator:ga80c00b719a3b941f506e9d2b5f95d5d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2aa0f2587104e40fa9f81f9c0cdd8ffe"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a> dataSize)</td></tr>
<tr class="memdesc:ga2aa0f2587104e40fa9f81f9c0cdd8ffe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Data Element Size for the specified descriptor.  <a href="#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">More...</a><br /></td></tr>
<tr class="separator:ga2aa0f2587104e40fa9f81f9c0cdd8ffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf49286e2b81d4d0d168d1ac0aef7d50d"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a> srcTransferSize)</td></tr>
<tr class="memdesc:gaf49286e2b81d4d0d168d1ac0aef7d50d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Source Transfer Size for the specified descriptor.  <a href="#gaf49286e2b81d4d0d168d1ac0aef7d50d">More...</a><br /></td></tr>
<tr class="separator:gaf49286e2b81d4d0d168d1ac0aef7d50d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeea43b7d2a09c7395bcdcc07b98f0d80"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a> dstTransferSize)</td></tr>
<tr class="memdesc:gaeea43b7d2a09c7395bcdcc07b98f0d80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Destination Transfer Size for the specified descriptor.  <a href="#gaeea43b7d2a09c7395bcdcc07b98f0d80">More...</a><br /></td></tr>
<tr class="separator:gaeea43b7d2a09c7395bcdcc07b98f0d80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d7072631b2789d69299e6850e81cf45"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a> retrigger)</td></tr>
<tr class="memdesc:ga1d7072631b2789d69299e6850e81cf45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the retrigger value that specifies whether the controller should wait for the input trigger to be deactivated.  <a href="#ga1d7072631b2789d69299e6850e81cf45">More...</a><br /></td></tr>
<tr class="separator:ga1d7072631b2789d69299e6850e81cf45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf222cecbb283f40e3551b268f933a5ae"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *descriptor, <a class="el" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a> channelState)</td></tr>
<tr class="memdesc:gaf222cecbb283f40e3551b268f933a5ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the channel state on completion of the specified descriptor.  <a href="#gaf222cecbb283f40e3551b268f933a5ae">More...</a><br /></td></tr>
<tr class="separator:gaf222cecbb283f40e3551b268f933a5ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25aa60fd095d67d94c09ea15c2235329"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga25aa60fd095d67d94c09ea15c2235329"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a next descriptor address of the specified descriptor.  <a href="#ga25aa60fd095d67d94c09ea15c2235329">More...</a><br /></td></tr>
<tr class="separator:ga25aa60fd095d67d94c09ea15c2235329"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ace7081b9d8fca0246bf622a221500b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga2ace7081b9d8fca0246bf622a221500b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the descriptor's type of the specified descriptor.  <a href="#ga2ace7081b9d8fca0246bf622a221500b">More...</a><br /></td></tr>
<tr class="separator:ga2ace7081b9d8fca0246bf622a221500b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9577883db034b1ad32eec7df9dcb9c9e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga9577883db034b1ad32eec7df9dcb9c9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source address parameter of the specified descriptor.  <a href="#ga9577883db034b1ad32eec7df9dcb9c9e">More...</a><br /></td></tr>
<tr class="separator:ga9577883db034b1ad32eec7df9dcb9c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2868752d585ade8f9ff1769ab5e9151"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gac2868752d585ade8f9ff1769ab5e9151"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination address parameter of the specified descriptor.  <a href="#gac2868752d585ade8f9ff1769ab5e9151">More...</a><br /></td></tr>
<tr class="separator:gac2868752d585ade8f9ff1769ab5e9151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2f686468dcaef507573d7e829270c8ce"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga2f686468dcaef507573d7e829270c8ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of data elements for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#ga2f686468dcaef507573d7e829270c8ce">More...</a><br /></td></tr>
<tr class="separator:ga2f686468dcaef507573d7e829270c8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac822843e1fac9c2cc8acf4d1bb509262"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gac822843e1fac9c2cc8acf4d1bb509262"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of X loops to execute in the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#gac822843e1fac9c2cc8acf4d1bb509262">More...</a><br /></td></tr>
<tr class="separator:gac822843e1fac9c2cc8acf4d1bb509262"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaa746339fed3dda9cb31faa543ff4c11"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gaaa746339fed3dda9cb31faa543ff4c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#gaaa746339fed3dda9cb31faa543ff4c11">More...</a><br /></td></tr>
<tr class="separator:gaaa746339fed3dda9cb31faa543ff4c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48f83970362e8a7229e9495ffbff491c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga48f83970362e8a7229e9495ffbff491c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only).  <a href="#ga48f83970362e8a7229e9495ffbff491c">More...</a><br /></td></tr>
<tr class="separator:ga48f83970362e8a7229e9495ffbff491c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6dbb5deaf227e157e837795cbed58d2e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga6dbb5deaf227e157e837795cbed58d2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source increment parameter for the outer Y of the specified descriptor (for 2D descriptors only).  <a href="#ga6dbb5deaf227e157e837795cbed58d2e">More...</a><br /></td></tr>
<tr class="separator:ga6dbb5deaf227e157e837795cbed58d2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga45f67c755939496eb21977b7a8e6873f"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga45f67c755939496eb21977b7a8e6873f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only).  <a href="#ga45f67c755939496eb21977b7a8e6873f">More...</a><br /></td></tr>
<tr class="separator:ga45f67c755939496eb21977b7a8e6873f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fbedd7440cdcacd7d50e6365441d26a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga5fbedd7440cdcacd7d50e6365441d26a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Interrupt-Type of the specified descriptor.  <a href="#ga5fbedd7440cdcacd7d50e6365441d26a">More...</a><br /></td></tr>
<tr class="separator:ga5fbedd7440cdcacd7d50e6365441d26a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e14a99b6c0ac46adfa5009603bbf98f"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga1e14a99b6c0ac46adfa5009603bbf98f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Trigger-In-Type parameter of the specified descriptor.  <a href="#ga1e14a99b6c0ac46adfa5009603bbf98f">More...</a><br /></td></tr>
<tr class="separator:ga1e14a99b6c0ac46adfa5009603bbf98f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae405d954829eda0944d454c94978c159"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gae405d954829eda0944d454c94978c159"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Trigger-Out-Type parameter of the specified descriptor.  <a href="#gae405d954829eda0944d454c94978c159">More...</a><br /></td></tr>
<tr class="separator:gae405d954829eda0944d454c94978c159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6689700541c995e2b5d93e9b3e26a2e9"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga6689700541c995e2b5d93e9b3e26a2e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Data Element Size parameter of the specified descriptor.  <a href="#ga6689700541c995e2b5d93e9b3e26a2e9">More...</a><br /></td></tr>
<tr class="separator:ga6689700541c995e2b5d93e9b3e26a2e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1cd7662b258f74dd77b123671bcc769"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gaf1cd7662b258f74dd77b123671bcc769"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Source Transfer Size parameter of the specified descriptor.  <a href="#gaf1cd7662b258f74dd77b123671bcc769">More...</a><br /></td></tr>
<tr class="separator:gaf1cd7662b258f74dd77b123671bcc769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e461e666b07dbe24834dc055b0bf83f"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga6e461e666b07dbe24834dc055b0bf83f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Destination Transfer Size parameter of the specified descriptor.  <a href="#ga6e461e666b07dbe24834dc055b0bf83f">More...</a><br /></td></tr>
<tr class="separator:ga6e461e666b07dbe24834dc055b0bf83f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa63818bcd87bded62adf8ea9fffd4f4d"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:gaa63818bcd87bded62adf8ea9fffd4f4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a value that specifies whether the controller should wait for the input trigger to be deactivated.  <a href="#gaa63818bcd87bded62adf8ea9fffd4f4d">More...</a><br /></td></tr>
<tr class="separator:gaa63818bcd87bded62adf8ea9fffd4f4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a14870ff31f9570a91a23bb5dc464df"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a> (<a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *descriptor)</td></tr>
<tr class="memdesc:ga4a14870ff31f9570a91a23bb5dc464df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the channel state on completion of the specified descriptor.  <a href="#ga4a14870ff31f9570a91a23bb5dc464df">More...</a><br /></td></tr>
<tr class="separator:ga4a14870ff31f9570a91a23bb5dc464df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="gab1610fab6f2dd5fd25c031ac0aa9d8cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab1610fab6f2dd5fd25c031ac0aa9d8cb">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__dma__enums.html#gafbef983fffc7c7bb724322e8f64d32e5">cy_en_dma_status_t</a> Cy_DMA_Descriptor_Init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__dma__descriptor__config__t.html">cy_stc_dma_descriptor_config_t</a> *&#160;</td>
          <td class="paramname"><em>config</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the descriptor structure in SRAM from a pre-initialized configuration structure. </p>
<p>This function initializes only the descriptor and not the channel.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">config</td><td>This is a configuration structure that has all initialization information for the descriptor.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The status /ref cy_en_dma_status_t.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Based on the descriptor type, the offset of the address for the next descriptor may vary. For a single-transfer descriptor type, this register is at offset 0x0c. For the 1D-transfer descriptor type, this register is at offset 0x10. For the 2D-transfer descriptor type, this register is at offset 0x14.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Initialize a 1D descriptor */</span></div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line"><span class="preprocessor">    #define CY_DMA_INTR_MASK (0x01UL)</span></div><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor;</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor;</div><div class="line">    uint32_t src_data[DATACNT];</div><div class="line">    uint32_t dst_data[DATACNT];</div><div class="line">    uint8_t currentYIndex;</div><div class="line"></div><div class="line">    <span class="comment">/* Enabling the interrupt using the Cy_DMA_Channel_SetInterruptMask function for DMA channel.*/</span></div><div class="line">    <a class="code" href="group__group__dma__channel__functions.html#gab3e0528d8e57ee04dbbee89ffca38545">Cy_DMA_Channel_SetInterruptMask</a>(DW0, 0UL, <a class="code" href="group__group__dma__macros.html#gadaa223697209effceea2fd4a8c957c86">CY_DMA_INTR_MASK</a>);</div><div class="line">    </div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__config__t.html">cy_stc_dma_descriptor_config_t</a> descriptor_cfg = </div><div class="line">    {</div><div class="line">        .<a class="code" href="structcy__stc__dma__descriptor__config__t.html#afcc039279bc1e7d50b0813778772f3c0">retrigger</a> = <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>,</div><div class="line">        .interruptType = <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>,</div><div class="line">        .triggerOutType = <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>,</div><div class="line">        .channelState = <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>,</div><div class="line">        .triggerInType = <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>,</div><div class="line">        .dataSize = <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>,</div><div class="line">        .srcTransferSize = <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>,</div><div class="line">        .dstTransferSize = <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>,</div><div class="line">        .descriptorType = <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>,</div><div class="line">        .srcAddress = &amp;src_data,</div><div class="line">        .dstAddress = &amp;dst_data,</div><div class="line">        .srcXincrement = 1U,</div><div class="line">        .dstXincrement = 1U,</div><div class="line">        .xCount = DATACNT,</div><div class="line">        .srcYincrement = 0U,</div><div class="line">        .dstYincrement = 0U,</div><div class="line">        .yCount = 1UL,</div><div class="line">        .nextDescriptor = &amp;nextDescriptor,</div><div class="line">    };</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (<a class="code" href="group__group__dma__enums.html#ggafbef983fffc7c7bb724322e8f64d32e5a5223359d0e1e316300e678afaa8cee96">CY_DMA_SUCCESS</a> != <a class="code" href="group__group__dma__descriptor__functions.html#gab1610fab6f2dd5fd25c031ac0aa9d8cb">Cy_DMA_Descriptor_Init</a>(&amp;descriptor, &amp;descriptor_cfg))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Insert error handling */</span></div><div class="line">    }</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Setup and enable the DMA channel 0 of block DW0 */</span></div><div class="line">    <a class="code" href="structcy__stc__dma__channel__config__t.html">cy_stc_dma_channel_config_t</a> channelConfig;</div><div class="line">    channelConfig.<a class="code" href="structcy__stc__dma__channel__config__t.html#aab3204617ecee2a57b1f76832966227d">preemptable</a> = <span class="keyword">false</span>;</div><div class="line">    channelConfig.<a class="code" href="structcy__stc__dma__channel__config__t.html#a018bbd8e3039b78ad16f9c0536dde3c0">enable</a> = <span class="keyword">false</span>;</div><div class="line">    channelConfig.<a class="code" href="structcy__stc__dma__channel__config__t.html#aa40017613f97a28e2802e072fdf38817">bufferable</a> = <span class="keyword">false</span>;</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (<a class="code" href="group__group__dma__enums.html#ggafbef983fffc7c7bb724322e8f64d32e5a5223359d0e1e316300e678afaa8cee96">CY_DMA_SUCCESS</a> != <a class="code" href="group__group__dma__channel__functions.html#gab0beed3c05362206ac66fc4327d8964b">Cy_DMA_Channel_Init</a>(DW0, 0UL, &amp;channelConfig))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Insert error handling */</span></div><div class="line">    }</div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__channel__functions.html#ga4c5cca40de761c4b7827ce65538bf12d">Cy_DMA_Channel_SetDescriptor</a>(DW0, 0UL, &amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__channel__functions.html#gae088032ef5679610fdcbea8d1b4a3cd3">Cy_DMA_Channel_SetPriority</a>(DW0, 0UL, 3UL);</div><div class="line">    <a class="code" href="group__group__dma__channel__functions.html#ga13e6923cafe660ba825ba6d5b1841bf7">Cy_DMA_Channel_Enable</a>(DW0, 0UL);</div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__block__functions.html#gad14b53935dc8321f395e49a7dfec2c5a">Cy_DMA_Enable</a>(DW0);</div><div class="line"></div><div class="line">    <span class="keywordflow">if</span> (<span class="keyword">true</span> != <a class="code" href="group__group__dma__channel__functions.html#ga5a51ce188be53678509a623517d96f16">Cy_DMA_Channel_IsEnabled</a>(DW0, 0UL))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Insert error handling */</span></div><div class="line">    }</div><div class="line"></div><div class="line">    currentYIndex = <a class="code" href="group__group__dma__channel__functions.html#gaceff87bfa4f24dfde2764ea8c45a1ecd">Cy_DMA_Channel_GetCurrentYIndex</a>(DW0, 0UL);</div><div class="line">    (void) currentYIndex;</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga67ca76e4d5a5c17b2119ff07e89b0b93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67ca76e4d5a5c17b2119ff07e89b0b93">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMA_Descriptor_DeInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the content of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">     <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line"></div><div class="line">    <span class="comment">/* Scenario: Disable a descriptor */</span></div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga67ca76e4d5a5c17b2119ff07e89b0b93">Cy_DMA_Descriptor_DeInit</a>(&amp;descriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga70f78f6b1560374bdccf90f95cc580e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70f78f6b1560374bdccf90f95cc580e4">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetNextDescriptor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMA_Descriptor_SetNextDescriptor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>nextDescriptor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a Next Descriptor for the specified descriptor. </p>
<p>Based on the descriptor type, the offset of the address for the next descriptor may vary. For the single-transfer descriptor type, this register is at offset 0x0c. For the 1D-transfer descriptor type, this register is at offset 0x10. For the 2D-transfer descriptor type, this register is at offset 0x14.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">nextDescriptor</td><td>The pointer to the next descriptor. For CAT1C devices this pointer needs to point to 32 byte aligned structure.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaeb5f047b778d13f66bc18ef037bfe1f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb5f047b778d13f66bc18ef037bfe1f4">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetDescriptorType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_DMA_Descriptor_SetDescriptorType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a>&#160;</td>
          <td class="paramname"><em>descriptorType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the descriptor's type for the specified descriptor. </p>
<p>Moves the next descriptor register value into the proper place in accordance to the actual descriptor type. During the descriptor's type changing, the Xloop and Yloop settings, such as data count and source/destination increment (i.e. the content of the xCtl and yCtl descriptor registers) might be lost (overridden by the next descriptor value) because of the different descriptor registers structures for different descriptor types. Carefully set up the Xloop (and Yloop, if used) data count and source/destination increment if the descriptor type is changed from a simpler to a more complicated type ("single transfer" -&gt; "1D", "1D" -&gt; "2D", etc.).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">descriptorType</td><td>The descriptor type <a class="el" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2df838cf16522aa18ad713fd05107b4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2df838cf16522aa18ad713fd05107b4c">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetSrcAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetSrcAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void const *&#160;</td>
          <td class="paramname"><em>srcAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source address for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">srcAddress</td><td>The source address value for the descriptor. For CAT1C devices this data pointer needs to point to 32 bit aligned data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2c7111653150314961db83f7941a03c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2c7111653150314961db83f7941a03c2">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetDstAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetDstAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void const *&#160;</td>
          <td class="paramname"><em>dstAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the destination address for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">dstAddress</td><td>The destination address value for the descriptor. For CAT1C devices this data pointer needs to point to 32 byte aligned data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gade7056df156384a80cc6c52a64b2043e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gade7056df156384a80cc6c52a64b2043e">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetXloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetXloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>xCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the number of data elements to transfer in the X loop for the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">xCount</td><td>The number of data elements to transfer in the X loop. Valid range is 1 ... 256.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gab9dd4fc26a0246f23e4fb33533f1df8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab9dd4fc26a0246f23e4fb33533f1df8e">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetYloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetYloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>yCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the number of data elements for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">yCount</td><td>The number of X loops to execute in the Y loop. The valid range is 1 ... 256.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga07b57a509693fc7c2b735b622001fe1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga07b57a509693fc7c2b735b622001fe1c">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetXloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetXloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>srcXincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">srcXincrement</td><td>The value of the source increment. The valid range is -2048 ... 2047.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gacbfc81aed0a42cafdd0b3c71b1dd2d1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetXloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetXloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dstXincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the destination increment parameter for the X loop for the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">dstXincrement</td><td>The value of the destination increment. The valid range is -2048 ... 2047.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga7928ebc65d7e01c79c3a82c6d8f5b7ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetYloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetYloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>srcYincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source increment parameter for the Y loop for the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">srcYincrement</td><td>The value of the source increment. The valid range is -2048 ... 2047.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gae84c9ee88f63ff0833a53445a9c470b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae84c9ee88f63ff0833a53445a9c470b3">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetYloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetYloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dstYincrement</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">dstYincrement</td><td>The value of the destination increment. The valid range is -2048 ... 2047.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaf68ae7c4a5e87162e9a05af17d5fb1d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf68ae7c4a5e87162e9a05af17d5fb1d2">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetInterruptType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetInterruptType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>&#160;</td>
          <td class="paramname"><em>interruptType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the interrupt type for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">interruptType</td><td>The interrupt type set for the descriptor. <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga9910b48379161ee41e0a9d57e0dc3a4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9910b48379161ee41e0a9d57e0dc3a4b">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetTriggerInType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetTriggerInType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>&#160;</td>
          <td class="paramname"><em>triggerInType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Trigger-In-Type for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">triggerInType</td><td>The Trigger In Type parameter <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga80c00b719a3b941f506e9d2b5f95d5d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga80c00b719a3b941f506e9d2b5f95d5d1">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetTriggerOutType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetTriggerOutType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>&#160;</td>
          <td class="paramname"><em>triggerOutType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Trigger-Out-Type for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">triggerOutType</td><td>The Trigger-Out-Type set for the descriptor. <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2aa0f2587104e40fa9f81f9c0cdd8ffe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetDataSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetDataSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>&#160;</td>
          <td class="paramname"><em>dataSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Data Element Size for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">dataSize</td><td>The Data Element Size <a class="el" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaf49286e2b81d4d0d168d1ac0aef7d50d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf49286e2b81d4d0d168d1ac0aef7d50d">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetSrcTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetSrcTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>&#160;</td>
          <td class="paramname"><em>srcTransferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Source Transfer Size for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">srcTransferSize</td><td>The Source Transfer Size <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaeea43b7d2a09c7395bcdcc07b98f0d80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeea43b7d2a09c7395bcdcc07b98f0d80">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetDstTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetDstTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>&#160;</td>
          <td class="paramname"><em>dstTransferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the Destination Transfer Size for the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">dstTransferSize</td><td>The Destination Transfer Size <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga1d7072631b2789d69299e6850e81cf45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1d7072631b2789d69299e6850e81cf45">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetRetrigger()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetRetrigger </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>&#160;</td>
          <td class="paramname"><em>retrigger</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the retrigger value that specifies whether the controller should wait for the input trigger to be deactivated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">retrigger</td><td>The <a class="el" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a> parameter specifies whether the controller should wait for the input trigger to be deactivated.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaf222cecbb283f40e3551b268f933a5ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf222cecbb283f40e3551b268f933a5ae">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_SetChannelState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_DMA_Descriptor_SetChannelState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>&#160;</td>
          <td class="paramname"><em>channelState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the channel state on completion of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
    <tr><td class="paramname">channelState</td><td>The channel state <a class="el" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Set or modify individual descriptor parameters dynamically. This snippet shows them all. */</span></div><div class="line">    </div><div class="line"><span class="preprocessor">    #define DATACNT (8UL)</span></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> nextDescriptor = {0};</div><div class="line">    uint32_t src[DATACNT];</div><div class="line">    uint32_t dst[DATACNT];</div><div class="line">    </div><div class="line">    <span class="keywordflow">if</span> (&amp;descriptor != <a class="code" href="group__group__dma__channel__functions.html#ga020fff71acefa4c88fd6d3dacfba4e75">Cy_DMA_Channel_GetCurrentDescriptor</a>(DW0, 0UL)) <span class="comment">/* Make sure it is not in use */</span></div><div class="line">    {</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga1d7072631b2789d69299e6850e81cf45">Cy_DMA_Descriptor_SetRetrigger</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga8ea649c82d5e7d4d4bd72403468aadeea0bf275b3b0a14445f5adb266865664ee">CY_DMA_RETRIG_IM</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf68ae7c4a5e87162e9a05af17d5fb1d2">Cy_DMA_Descriptor_SetInterruptType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga80c00b719a3b941f506e9d2b5f95d5d1">Cy_DMA_Descriptor_SetTriggerOutType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf222cecbb283f40e3551b268f933a5ae">Cy_DMA_Descriptor_SetChannelState</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga75740ce8bf02f62bc9e6c86307369f67a7f4266bff1786e17ba9b892ba03334db">CY_DMA_CHANNEL_ENABLED</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga9910b48379161ee41e0a9d57e0dc3a4b">Cy_DMA_Descriptor_SetTriggerInType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga46664f020f211baf0651e6c85c3c3e76ae49e9abd58d729c9875ce44e73b1b26b">CY_DMA_DESCR</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2aa0f2587104e40fa9f81f9c0cdd8ffe">Cy_DMA_Descriptor_SetDataSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga167a5222a0d666c6ce9e8382e56ac192a06aa9f141fdba0572953b0ffe8972ccc">CY_DMA_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaf49286e2b81d4d0d168d1ac0aef7d50d">Cy_DMA_Descriptor_SetSrcTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeea43b7d2a09c7395bcdcc07b98f0d80">Cy_DMA_Descriptor_SetDstTransferSize</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga2e6a1fad6945ca581ebd0fdbb8748314a559ffa18c8d6862e31c444eed54de51e">CY_DMA_TRANSFER_SIZE_WORD</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gaeb5f047b778d13f66bc18ef037bfe1f4">Cy_DMA_Descriptor_SetDescriptorType</a>(&amp;descriptor, <a class="code" href="group__group__dma__enums.html#gga69516534f5a562e8a2f55bb4203851d0a7d12c181e7b926a71c7c30eb77ac8955">CY_DMA_1D_TRANSFER</a>);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2df838cf16522aa18ad713fd05107b4c">Cy_DMA_Descriptor_SetSrcAddress</a>(&amp;descriptor, &amp;src);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga2c7111653150314961db83f7941a03c2">Cy_DMA_Descriptor_SetDstAddress</a>(&amp;descriptor, &amp;dst);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga07b57a509693fc7c2b735b622001fe1c">Cy_DMA_Descriptor_SetXloopSrcIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gacbfc81aed0a42cafdd0b3c71b1dd2d1e">Cy_DMA_Descriptor_SetXloopDstIncrement</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gade7056df156384a80cc6c52a64b2043e">Cy_DMA_Descriptor_SetXloopDataCount</a>(&amp;descriptor, DATACNT);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga7928ebc65d7e01c79c3a82c6d8f5b7ee">Cy_DMA_Descriptor_SetYloopSrcIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gae84c9ee88f63ff0833a53445a9c470b3">Cy_DMA_Descriptor_SetYloopDstIncrement</a>(&amp;descriptor, 0UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#gab9dd4fc26a0246f23e4fb33533f1df8e">Cy_DMA_Descriptor_SetYloopDataCount</a>(&amp;descriptor, 1UL);</div><div class="line">        <a class="code" href="group__group__dma__descriptor__functions.html#ga70f78f6b1560374bdccf90f95cc580e4">Cy_DMA_Descriptor_SetNextDescriptor</a>(&amp;descriptor, &amp;nextDescriptor);</div><div class="line">    }</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga25aa60fd095d67d94c09ea15c2235329"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25aa60fd095d67d94c09ea15c2235329">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetNextDescriptor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a>* Cy_DMA_Descriptor_GetNextDescriptor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a next descriptor address of the specified descriptor. </p>
<p>Based on the descriptor type, the offset of the address for the next descriptor may vary. For a single-transfer descriptor type, this register is at offset 0x0c. For the 1D-transfer descriptor type, this register is at offset 0x10. For the 2D-transfer descriptor type, this register is at offset 0x14.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the next descriptor.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2ace7081b9d8fca0246bf622a221500b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2ace7081b9d8fca0246bf622a221500b">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetDescriptorType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> Cy_DMA_Descriptor_GetDescriptorType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the descriptor's type of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The descriptor type <a class="el" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga9577883db034b1ad32eec7df9dcb9c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9577883db034b1ad32eec7df9dcb9c9e">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetSrcAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void * Cy_DMA_Descriptor_GetSrcAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the source address parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The source address value of the descriptor.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gac2868752d585ade8f9ff1769ab5e9151"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac2868752d585ade8f9ff1769ab5e9151">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetDstAddress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void * Cy_DMA_Descriptor_GetDstAddress </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the destination address parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The destination address value of the descriptor.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga2f686468dcaef507573d7e829270c8ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f686468dcaef507573d7e829270c8ce">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetXloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_DMA_Descriptor_GetXloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of data elements for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of data elements to transfer in the X loop. The range is 1 ... 256.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gac822843e1fac9c2cc8acf4d1bb509262"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac822843e1fac9c2cc8acf4d1bb509262">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetYloopDataCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_DMA_Descriptor_GetYloopDataCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of X loops to execute in the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of X loops to execute in the Y loop. The range is 1 ... 256.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaaa746339fed3dda9cb31faa543ff4c11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaa746339fed3dda9cb31faa543ff4c11">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetXloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMA_Descriptor_GetXloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the source increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the source increment. The range is -2048 ... 2047.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga48f83970362e8a7229e9495ffbff491c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga48f83970362e8a7229e9495ffbff491c">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetXloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMA_Descriptor_GetXloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the destination increment parameter for the X loop of the specified descriptor (for 1D or 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the destination increment. The range is -2048 ... 2047.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga6dbb5deaf227e157e837795cbed58d2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6dbb5deaf227e157e837795cbed58d2e">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetYloopSrcIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMA_Descriptor_GetYloopSrcIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the source increment parameter for the outer Y of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the source increment. The range is -2048 ... 2047.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga45f67c755939496eb21977b7a8e6873f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga45f67c755939496eb21977b7a8e6873f">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetYloopDstIncrement()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int32_t Cy_DMA_Descriptor_GetYloopDstIncrement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the destination increment parameter for the Y loop of the specified descriptor (for 2D descriptors only). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the destination increment. The range is -2048 ... 2047.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga5fbedd7440cdcacd7d50e6365441d26a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5fbedd7440cdcacd7d50e6365441d26a">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetInterruptType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a> Cy_DMA_Descriptor_GetInterruptType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Interrupt-Type of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Interrupt-Type <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga1e14a99b6c0ac46adfa5009603bbf98f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e14a99b6c0ac46adfa5009603bbf98f">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetTriggerInType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a> Cy_DMA_Descriptor_GetTriggerInType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Trigger-In-Type parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Trigger-In-Type <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a></dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gae405d954829eda0944d454c94978c159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae405d954829eda0944d454c94978c159">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetTriggerOutType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a> Cy_DMA_Descriptor_GetTriggerOutType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Trigger-Out-Type parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Trigger-Out-Type parameter <a class="el" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga6689700541c995e2b5d93e9b3e26a2e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6689700541c995e2b5d93e9b3e26a2e9">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetDataSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a> Cy_DMA_Descriptor_GetDataSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Data Element Size parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Data Element Size <a class="el" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaf1cd7662b258f74dd77b123671bcc769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf1cd7662b258f74dd77b123671bcc769">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetSrcTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a> Cy_DMA_Descriptor_GetSrcTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Source Transfer Size parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Source Transfer Size <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga6e461e666b07dbe24834dc055b0bf83f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6e461e666b07dbe24834dc055b0bf83f">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetDstTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a> Cy_DMA_Descriptor_GetDstTransferSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Destination Transfer Size parameter of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Destination Transfer Size <a class="el" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaa63818bcd87bded62adf8ea9fffd4f4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa63818bcd87bded62adf8ea9fffd4f4d">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetRetrigger()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a> Cy_DMA_Descriptor_GetRetrigger </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a value that specifies whether the controller should wait for the input trigger to be deactivated. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Retrigger setting <a class="el" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga4a14870ff31f9570a91a23bb5dc464df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4a14870ff31f9570a91a23bb5dc464df">&#9670;&nbsp;</a></span>Cy_DMA_Descriptor_GetChannelState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a> Cy_DMA_Descriptor_GetChannelState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> const *&#160;</td>
          <td class="paramname"><em>descriptor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the channel state on completion of the specified descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">descriptor</td><td>The descriptor structure instance declared by the user/component.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Channel State setting <a class="el" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">    <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> descriptor = {0};</div><div class="line">    </div><div class="line">    <span class="comment">/* Scenario: Get the value of individual descriptor parameters dynamically. The snippet shows them all. */</span></div><div class="line">    <span class="comment">/* This function assumes the &#39;descriptor&#39; is initialized, see \ref Cy_DMA_Enable description */</span></div><div class="line">    </div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga8ea649c82d5e7d4d4bd72403468aadee">cy_en_dma_retrigger_t</a>       retrigger       = <a class="code" href="group__group__dma__descriptor__functions.html#gaa63818bcd87bded62adf8ea9fffd4f4d">Cy_DMA_Descriptor_GetRetrigger</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    interruptType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga5fbedd7440cdcacd7d50e6365441d26a">Cy_DMA_Descriptor_GetInterruptType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerOutType  = <a class="code" href="group__group__dma__descriptor__functions.html#gae405d954829eda0944d454c94978c159">Cy_DMA_Descriptor_GetTriggerOutType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga75740ce8bf02f62bc9e6c86307369f67">cy_en_dma_channel_state_t</a>   channelState    = <a class="code" href="group__group__dma__descriptor__functions.html#ga4a14870ff31f9570a91a23bb5dc464df">Cy_DMA_Descriptor_GetChannelState</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga46664f020f211baf0651e6c85c3c3e76">cy_en_dma_trigger_type_t</a>    triggerInType   = <a class="code" href="group__group__dma__descriptor__functions.html#ga1e14a99b6c0ac46adfa5009603bbf98f">Cy_DMA_Descriptor_GetTriggerInType</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga167a5222a0d666c6ce9e8382e56ac192">cy_en_dma_data_size_t</a>       dataSize        = <a class="code" href="group__group__dma__descriptor__functions.html#ga6689700541c995e2b5d93e9b3e26a2e9">Cy_DMA_Descriptor_GetDataSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   srcTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#gaf1cd7662b258f74dd77b123671bcc769">Cy_DMA_Descriptor_GetSrcTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga2e6a1fad6945ca581ebd0fdbb8748314">cy_en_dma_transfer_size_t</a>   dstTransferSize = <a class="code" href="group__group__dma__descriptor__functions.html#ga6e461e666b07dbe24834dc055b0bf83f">Cy_DMA_Descriptor_GetDstTransferSize</a>(&amp;descriptor);</div><div class="line">    <a class="code" href="group__group__dma__enums.html#ga69516534f5a562e8a2f55bb4203851d0">cy_en_dma_descriptor_type_t</a> descriptorType  = <a class="code" href="group__group__dma__descriptor__functions.html#ga2ace7081b9d8fca0246bf622a221500b">Cy_DMA_Descriptor_GetDescriptorType</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * srcAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#ga9577883db034b1ad32eec7df9dcb9c9e">Cy_DMA_Descriptor_GetSrcAddress</a>(&amp;descriptor);</div><div class="line">                         <span class="keywordtype">void</span> * dstAddress      = <a class="code" href="group__group__dma__descriptor__functions.html#gac2868752d585ade8f9ff1769ab5e9151">Cy_DMA_Descriptor_GetDstAddress</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#gaaa746339fed3dda9cb31faa543ff4c11">Cy_DMA_Descriptor_GetXloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstXincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga48f83970362e8a7229e9495ffbff491c">Cy_DMA_Descriptor_GetXloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   xCount          = <a class="code" href="group__group__dma__descriptor__functions.html#ga2f686468dcaef507573d7e829270c8ce">Cy_DMA_Descriptor_GetXloopDataCount</a>(&amp;descriptor);</div><div class="line">                      int32_t   srcYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga6dbb5deaf227e157e837795cbed58d2e">Cy_DMA_Descriptor_GetYloopSrcIncrement</a>(&amp;descriptor);</div><div class="line">                      int32_t   dstYincrement   = <a class="code" href="group__group__dma__descriptor__functions.html#ga45f67c755939496eb21977b7a8e6873f">Cy_DMA_Descriptor_GetYloopDstIncrement</a>(&amp;descriptor);</div><div class="line">                     uint32_t   yCount          = <a class="code" href="group__group__dma__descriptor__functions.html#gac822843e1fac9c2cc8acf4d1bb509262">Cy_DMA_Descriptor_GetYloopDataCount</a>(&amp;descriptor);</div><div class="line">      <a class="code" href="structcy__stc__dma__descriptor__t.html">cy_stc_dma_descriptor_t</a> * nextDescriptor  = <a class="code" href="group__group__dma__descriptor__functions.html#ga25aa60fd095d67d94c09ea15c2235329">Cy_DMA_Descriptor_GetNextDescriptor</a>(&amp;descriptor);</div><div class="line">    </div></div><!-- fragment --></dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
